package com.anquing.controller;

import com.anquing.interceptor.HelloInterceptor;
import com.anquing.model.Hello;
import com.anquing.service.HelloService;
import com.jfinal.aop.Before;
import com.jfinal.core.Controller;


@Before(HelloInterceptor.class)
public class HelloController extends Controller {

    static HelloService service = new HelloService();

    public void index() {
        setAttr("hello", "safdsf");
        render("blog.html");
    }
}
